package PolymorphicHomeworkTest4;

public class Tank extends Weapon {
    public void attack(){
        System.out.println("开炮！开炮！");
    }
    public void move(){
        System.out.println("坦克向前移动了50米");
    }
}
